function extendFlexiGridRender(rowData, col, vl, renderFunc, page) {
	if (col.name == "SP") {
		vl.innerHTML = "<a href=\""
				+ context
				+ "/app/focalCompany/orderE.jsp?id="
				+ rowData["ID_ID"]
				+ "&pageNO="
				+ page
				+ "\">编辑</a> <a href=\"javascript:void(0);\" onclick=\"javascript:del('"
				+ rowData["ID_ID"] + "');\">删除</a>";
	}
}

function del(id) {
	var grooveDel = new $.grooveDelete({
				fcsupid : id,
				tableNames : "fcsupplier",
				handleTypes : "single"
			}, {
				aftercall : function() {
					/*document.location = context
							+ "/app/jquery.groovelist.jsp?querykey=fcsupplierlist";*/
					$("#flex1").flexReload();
				}
			});
}